import 'package:flutter/cupertino.dart';

typedef DoInChangeAppLifecycleState = Function(AppLifecycleState state);

typedef DoOnInit = Function();

typedef DoOnDispose = Function();

typedef OnButtonClick = Function();

typedef OnButtonLongClickWithValue = Function(BuildContext context, int value);

typedef OnSuccess = Function();
typedef OnSuccessWithValue = Function(Object value);

typedef OnFailure = Function(String? msg);

typedef OnTextChange = void Function(String text);

typedef OnFocus = Function(bool isFocus);
